package com.dreamtour.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("scenicspots")
public class Scenicspots implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "spotId", type = IdType.AUTO)
    private Integer spotId;

    @TableField("spotName")
    private String spotName;

    @TableField("spotDescription")
    private String spotDescription;

    @TableField("cityId")
    private Integer cityId;

    @TableField("pageView")
    private Integer pageView;

    @TableField("imageUrl")
    private String imageUrl;

    @TableField("favorNum")
    private Integer favorNum;

    @TableField("stampNum")
    private Integer stampNum;

    @TableField("spotType")
    private Integer spotType;

    @TableField("spotRating")
    private BigDecimal spotRating;

    @TableField("spotLocation")
    private String spotLocation;


}
